<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>视频上传</title>
</head>
<body>
<form enctype="multipart/form-data" method="post" th:action="@{/video/upload}">
    <label>
        名称：
        <input autocomplete="off" name="name" required type="text"/>
    </label>
    <br/>
    视频：<input name="file" required type="file"/>
    <br/>
    <input type="submit" value="上传"/>
    <br/>
</form>

<script th:src="@{/static/js/jquery-3.6.0.js}" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {

    });
</script>
</body>
</html>